<?php


namespace app\loan\model;


use think\Model;

class Order extends Model
{

    public static function isOrderExist($idCard){
        $count = self::where('id_card',$idCard)->count();
        return $count>0?true:false;
    }
}